package com.zxr.system.service;

import java.util.List;
import com.zxr.system.domain.OrderItems;

/**
 * 订单商品明细Service接口
 * 
 * @author zxrproject
 * @date 2025-04-26
 */
public interface IOrderItemsService 
{
    /**
     * 查询订单商品明细
     * 
     * @param orderItemId 订单商品明细主键
     * @return 订单商品明细
     */
    public OrderItems selectOrderItemsByOrderItemId(Long orderItemId);

    /**
     * 查询订单商品明细列表
     * 
     * @param orderItems 订单商品明细
     * @return 订单商品明细集合
     */
    public List<OrderItems> selectOrderItemsList(OrderItems orderItems);

    /**
     * 新增订单商品明细
     * 
     * @param orderItems 订单商品明细
     * @return 结果
     */
    public int insertOrderItems(OrderItems orderItems);

    /**
     * 修改订单商品明细
     * 
     * @param orderItems 订单商品明细
     * @return 结果
     */
    public int updateOrderItems(OrderItems orderItems);

    /**
     * 批量删除订单商品明细
     * 
     * @param orderItemIds 需要删除的订单商品明细主键集合
     * @return 结果
     */
    public int deleteOrderItemsByOrderItemIds(String orderItemIds);

    /**
     * 删除订单商品明细信息
     * 
     * @param orderItemId 订单商品明细主键
     * @return 结果
     */
    public int deleteOrderItemsByOrderItemId(Long orderItemId);
}
